import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'amfe-flexible'
import '@/utils/rem.js'  
import App from './App.vue'
import router from './router'
import 'vant/lib/index.css';
import Vant from 'vant';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()

const app = createApp(App)
app.use(Vant);
app.use(pinia.use(piniaPluginPersistedstate))
app.use(router)

app.mount('#app')
